package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;

import javax.persistence.*;

import org.apache.commons.lang.builder.ToStringBuilder;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the PS_C_APP_STEP_INST database table.
 */
@Entity
@Table(name = "PS_C_APP_STEP_INST")
@NamedQuery(name = "PsCAppStepInst.findAll", query = "SELECT p FROM PsCAppStepInst p")
@IdClass(PsCAppStepInstPrimary.class)
public class PsCAppStepInst implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "C_TRANSACTION_NBR")
    private String cTransactionNbr;

    @Id
    @Column(name = "C_STEP_NBR")
    private BigDecimal cStepNbr;

    @Column(name = "C_ADD_SW")
    private String cAddSw;

    @Column(name = "C_IS_CHUANYUE")
    private String cIsChuanyue;

    @Column(name = "C_APP_ID")
    private String cAppId;

    @Column(name = "C_APPROVAL_SW")
    private String cApprovalSw;

    @Column(name = "C_COVER_FLAG")
    private String cCoverFlag;

    @Column(name = "C_DENY_SW")
    private String cDenySw;

    @Column(name = "C_DEPT_FIXED")
    private String cDeptFixed;

    @Column(name = "C_DEPT_LEVEL")
    private String cDeptLevel;

    @Column(name = "C_FIXED_OPR")
    private String cFixedOpr;

    @Column(name = "C_GET_LEVEL")
    private String cGetLevel;

    @Column(name = "C_JOBCODE_FIXED")
    private String cJobcodeFixed;

    @Column(name = "C_MAX_NUM")
    private BigDecimal cMaxNum;

    @Column(name = "C_MIN_NUM")
    private BigDecimal cMinNum;

    @Column(name = "C_PUSHBACK_ALL_SW")
    private String cPushbackAllSw;

    @Column(name = "C_PUSHBACK_SW")
    private String cPushbackSw;

    @Column(name = "C_ROLE_ID")
    private String cRoleId;

    @Column(name = "C_STEP_SORT_NBR")
    private BigDecimal cStepSortNbr;

    @Column(name = "C_STEP_TYPE")
    private String cStepType;//步骤类型

    @Column(name = "C_STEP_STATUS")
    private String cStepStatus;

    @Column(name = "C_TREE_LEVEL")
    private String cTreeLevel;

    @Column(name = "C_VAL_LOGIC")
    private String cValLogic;

    @Column(name = "C_WF_TYPE")
    private String cWfType;

    private String deptid;

    private String descr;

    @Temporal(TemporalType.DATE)
    private Date effdt;

    private BigDecimal seqnbr;

    private String setid;

    @Column(name = "SETID_JOBCODE")
    private String setidJobcode;

    public PsCAppStepInst() {
    }

    public String getcStepType() {
        return cStepType;
    }

    public void setcStepType(String cStepType) {
        this.cStepType = cStepType;
    }

    public String getcIsChuanyue() {
        return cIsChuanyue;
    }

    public void setcIsChuanyue(String cIsChuanyue) {
        this.cIsChuanyue = cIsChuanyue;
    }

    public String getcTransactionNbr() {
        return cTransactionNbr;
    }


    public void setcTransactionNbr(String cTransactionNbr) {
        this.cTransactionNbr = cTransactionNbr;
    }


    public BigDecimal getcStepNbr() {
        return cStepNbr;
    }


    public void setcStepNbr(BigDecimal cStepNbr) {
        this.cStepNbr = cStepNbr;
    }


    public String getcAddSw() {
        return cAddSw;
    }


    public void setcAddSw(String cAddSw) {
        this.cAddSw = cAddSw;
    }


    public String getcAppId() {
        return cAppId;
    }


    public void setcAppId(String cAppId) {
        this.cAppId = cAppId;
    }


    public String getcApprovalSw() {
        return cApprovalSw;
    }


    public void setcApprovalSw(String cApprovalSw) {
        this.cApprovalSw = cApprovalSw;
    }


    public String getcCoverFlag() {
        return cCoverFlag;
    }


    public void setcCoverFlag(String cCoverFlag) {
        this.cCoverFlag = cCoverFlag;
    }


    public String getcDenySw() {
        return cDenySw;
    }


    public void setcDenySw(String cDenySw) {
        this.cDenySw = cDenySw;
    }


    public String getcDeptFixed() {
        return cDeptFixed;
    }


    public void setcDeptFixed(String cDeptFixed) {
        this.cDeptFixed = cDeptFixed;
    }


    public String getcDeptLevel() {
        return cDeptLevel;
    }


    public void setcDeptLevel(String cDeptLevel) {
        this.cDeptLevel = cDeptLevel;
    }


    public String getcFixedOpr() {
        return cFixedOpr;
    }


    public void setcFixedOpr(String cFixedOpr) {
        this.cFixedOpr = cFixedOpr;
    }


    public String getcGetLevel() {
        return cGetLevel;
    }


    public void setcGetLevel(String cGetLevel) {
        this.cGetLevel = cGetLevel;
    }


    public String getcJobcodeFixed() {
        return cJobcodeFixed;
    }


    public void setcJobcodeFixed(String cJobcodeFixed) {
        this.cJobcodeFixed = cJobcodeFixed;
    }


    public BigDecimal getcMaxNum() {
        return cMaxNum;
    }


    public void setcMaxNum(BigDecimal cMaxNum) {
        this.cMaxNum = cMaxNum;
    }


    public BigDecimal getcMinNum() {
        return cMinNum;
    }


    public void setcMinNum(BigDecimal cMinNum) {
        this.cMinNum = cMinNum;
    }


    public String getcPushbackAllSw() {
        return cPushbackAllSw;
    }


    public void setcPushbackAllSw(String cPushbackAllSw) {
        this.cPushbackAllSw = cPushbackAllSw;
    }


    public String getcPushbackSw() {
        return cPushbackSw;
    }


    public void setcPushbackSw(String cPushbackSw) {
        this.cPushbackSw = cPushbackSw;
    }


    public String getcRoleId() {
        return cRoleId;
    }


    public void setcRoleId(String cRoleId) {
        this.cRoleId = cRoleId;
    }


    public BigDecimal getcStepSortNbr() {
        return cStepSortNbr;
    }


    public void setcStepSortNbr(BigDecimal cStepSortNbr) {
        this.cStepSortNbr = cStepSortNbr;
    }


    public String getcStepStatus() {
        return cStepStatus;
    }


    public void setcStepStatus(String cStepStatus) {
        this.cStepStatus = cStepStatus;
    }


    public String getcTreeLevel() {
        return cTreeLevel;
    }


    public void setcTreeLevel(String cTreeLevel) {
        this.cTreeLevel = cTreeLevel;
    }


    public String getcValLogic() {
        return cValLogic;
    }


    public void setcValLogic(String cValLogic) {
        this.cValLogic = cValLogic;
    }


    public String getcWfType() {
        return cWfType;
    }


    public void setcWfType(String cWfType) {
        this.cWfType = cWfType;
    }


    public String getDeptid() {
        return deptid;
    }


    public void setDeptid(String deptid) {
        this.deptid = deptid;
    }


    public String getDescr() {
        return descr;
    }


    public void setDescr(String descr) {
        this.descr = descr;
    }


    public Date getEffdt() {
        return effdt;
    }


    public void setEffdt(Date effdt) {
        this.effdt = effdt;
    }


    public BigDecimal getSeqnbr() {
        return seqnbr;
    }


    public void setSeqnbr(BigDecimal seqnbr) {
        this.seqnbr = seqnbr;
    }


    public String getSetid() {
        return setid;
    }


    public void setSetid(String setid) {
        this.setid = setid;
    }


    public String getSetidJobcode() {
        return setidJobcode;
    }


    public void setSetidJobcode(String setidJobcode) {
        this.setidJobcode = setidJobcode;
    }


    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}